<?php

namespace App\Api\Three;

use App\Api\ChannelApi;
use Monolog\Logger;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;

class ABCDEFG extends ChannelApi
{
    public function __construct()
    {
    }
    public function selectNumber($array = [])
    {
        // var_dump($array);
        $return[] = [
            'province' => !empty($array['numberProvince']) ? $array['numberProvince'] : '广东省',
            'city' => !empty($array['numbercity']) ? $array['numbercity'] : '广州',
            'iccid' => '15378736962',
        ];
        return $this->returnMsg(200, '查询成功', $return);
    }
    // 下单接口
    public  function orderSubmit($data)
    {
        return $this->returnMsg(200, '下单成功', ['order_id' => 1234]);
        return [1, 2];
    }
    public function checkOrder($data)
    {
        return $this->returnMsg(200, '效验失败');
    }
}
